package com.springsecurity.adminpro.service;

import com.springsecurity.adminpro.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author admin
* @description 针对表【sys_user】的数据库操作Service
* @createDate 2023-01-29 13:09:43
*/
public interface SysUserService extends IService<SysUser> {

    /**
     * 根据用户名查询用户
     * @param username
     * @return
     */
    SysUser getByUsername(String username);

    String getUserAuthorityInfo(Long userId);

}
